package baseFx.tests.serialization.json;

import baseFx.serialization.json.EnumFormat;
import baseFx.serialization.json.BeanSerialize;
import baseFx.serialization.json.LongFormat;

import java.math.BigDecimal;
import java.util.Date;

public class TestModel implements BeanSerialize {
    public int int_value;
    public String string_value;
    public Long long_value;
    public Date date_value;
    public BigDecimal decimal_value;
    public double double_value;
    @EnumFormat
    public TestIdEnum idEnum_value;
    public TestIdEnum idEnum_value_2;
    public TestEnum enum_value;
    public TestModel sub_model;
    public TestEnum2 enum2;
    public Long l_num;
    @LongFormat(prec = 2)
    public Long l_num_fmt;

    @Override
    public void onBefore() {
        System.out.println("before running");
    }
}
